﻿using System;

namespace _18_在声明时初始化属性
{
    class Program
    {
        static void Main(string[] args)
        {
            Studen sss = new Studen();
            Console.WriteLine("学员编号：{0}\n 学员姓名：{1} \n 学习课程：{2}", sss.ID, sss.Name, sss.Course);
            Console.ReadLine();
        }
    }

    class Studen
    {
        public long ID { get; set; } = 0L;
        public string Name { get; set; } = "新学员";
        public string Course { get; set; } = "Visual Basic";
    }

}
